﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Veracruz.Contracts;
using Veracruz.DataContracts;
using Veracruz.Messages;

namespace Veracruz.Services
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class FacebookMembershipInfoService
        :IMembershipInfoContract
    {
        #region fields
        
        #endregion

        #region IMembershipInfoContract Members
        public string GetUserNameByEmail(string email)
        {
            //Get info from facebook
            return email;
        }

        public UserMatchResponse GetUserDetails(Veracruz.Messages.UserFindCriteriaRequest request)
        {
            UserMatchResponse __response = new UserMatchResponse();
            __response.User = new UserMatch();
            //Get info from facebook
            return __response;
        }

        public Veracruz.Messages.UsersMatchResponse FindUsersByCriteria(Veracruz.Messages.FindUsersCriteriaRequest request)
        {
            UsersMatchResponse __response = new UsersMatchResponse();
            __response.Users = new List<UserMatch>();
            //Get info from facebook
            return __response;
        }
        #endregion
    }
}